#pragma once

#include "IStatu.h"
#include "CGraphicMgr.h"
#include "data.h"
#include "CEbook.h"
class CBookShowStatu: public IStatu
{
	//vector<pair<int,wstring> > :: iterator m_itFileList;
	map<wstring,wstring>* m_pmapFileName;
	wstring m_strFileName;
	bool m_bInSameFolder;
public:

	CBookShowStatu(WCHAR* name);
	virtual bool EnterStatu();
	virtual bool ExitStatu();
	virtual bool EvaluateClickEvent(const WCHAR* elementName);
	//void setIterator(vector<pair<int,wstring> >::iterator it);
	void SetPlayFile(wstring filepath);
	bool topClick();
	bool buttomClick();
	bool upClick();
	bool downClick();
 
	void readNext();
     bool OpenListClick();
	bool StartPlay(const WCHAR* pFileName);
	wstring GetPlayFile(){return m_strFileName;}
	  CEbook* m_pEbook;
};